	
export const Num = {
    state: {
      counter: 0,
    },
    
    mutations: {
      INIT(state, num) {
        state.counter = num;
      },
      PLUS(state) {
        state.counter++;
      },
      MINUS(state) {
        state.counter--;
      },
    },
    actions: {
      init({ commit }, num) {
        commit("INIT", num);
      },
      plus({ commit }) {
        commit("PLUS");
      },
      minus({ commit }) {
        commit("MINUS");
      },
    },
  };